﻿
/*--------------导航栏模块1-----------------*/
.navbar1
{
    text-align: center;
}
.navbar1 ul
{
    display: inline-block;
    list-style-type: none;
}
.navbar1 li
{
    float: left;
}
.navbar1 li + li
{
    margin-left: 20px;
}

/*--------------导航栏模块2-----------------*/
.navbar2
{
    position: relative;
}
.navbar2  div
{
    position: relative;
    left: 50%;
    float: left;
}
.navbar2 ul
{
    position: relative;
    left: -50%;
    float: left;
    list-style-type: none;
}
.navbar2 li
{
    float: left;
}
.navbar2 li + li
{
    margin-left: 20px;
}
